﻿using System.Xml;
using org.apache.solr.SolrSharp.Query;
using org.apache.solr.SolrSharp.Results;

namespace SolrSharp.Adapters.Tests {
	public class SolrSearchResults : SearchResults<SolrSearchRecord> {
		public SolrSearchResults(QueryBuilder queryBuilder) : base(queryBuilder) {}

		public SolrSearchResults(ISolrQueryBuilder queryBuilder) : base(queryBuilder.InnerQueryBuilder) {}

		protected override SolrSearchRecord InitSearchRecord(XmlNode xn) {
			return new SolrSearchRecord(xn);
		}

		public override void InitFacetResults(XmlNode xn) {}
	}
}